package com.phenix.mvp.base.mvp;

import com.phenix.mvp.util.TUtil;

/**
 * @author  zhouphenix on 2016-7-15.
 */
public abstract class BaseMVPresenter<M,V> extends BasePresenter {
    public M mModel;
    public V mView;

    public BaseMVPresenter() {
        this.mModel = TUtil.getInstance(this, 0);
        this.onAttach();
    }

    protected void setView(V v) {
        this.mView = v;
    }

}
